<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1;">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta name="viewport" content="width=375, user-scalabe=no">
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <script src="../../../../public/vendor/flexible/flexible.js"></script>
    <title>销售订单明细-新增</title>
    <link rel="stylesheet" type="text/css" href="../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../public/vendor/weui/jquery-weui.css">
    <link rel="stylesheet" href="../../../../public/vendor/select2/select2.css">
    <link rel="stylesheet" href="../../../../public/css/features/breedsales/saleorders/saleordersentry.css">
    <style>
        .license-plate input {
            text-transform: uppercase;
        }
    </style>

</head>

<body>
    <div id="main-addsalesplan">
        <form id="saleordersentry-form">
            <div id="salesEntryTem">
                <p class="saleOrders-entry-message">基本信息</p>
                <div class="report-contents-item-box" v-for="(item, index) in entries" :key="item.seq">
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    农&emsp;&emsp;场<span class="red-900 requirentry"
                                        style="position:absolute;">&nbsp;*</span>
                                </span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent" id="farmOrgId" style="visibility: hidden;"
                                    required>
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    养殖批次<span class="red-900 requirentry" style="position:absolute;">&nbsp;*</span>
                                </span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent" id="breedBatchId" style="visibility: hidden;"
                                    disabled required>
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    物&emsp;&emsp;料<span class="red-900 requirentry"
                                        style="position:absolute;">&nbsp;*</span>
                                </span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent" style="visibility: hidden;" id="materialid"
                                    required>
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    销售单位<span class="red-900 requirentry" style="position:absolute;">&nbsp;*</span>
                                </span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent" id="pricMesuUnit" style="visibility: hidden;"
                                    required>
                                </select>
                            </span>
                        </div>
                    </div>
                    <!--<div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">发货地址<span class="red-900 requirentry" style="position:absolute;">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <textarea class="weui-input clearContent" type="text" id="shipAddress" placeholder="请选择发货地址..." rows="5" readonly></textarea>
                        </div>
                    </div>-->
                    <div class="weui-cell">
                        <div class="weui-uploader__hd" style="width: 100px;">
                            <p class="weui-uploader__title">发货地址<span class="red-900 requirentry"
                                    style="position:absolute;">&nbsp;*</span></p>
                        </div>
                        <input type="hidden" id="shipAddressPack" value="" />
                        <textarea class="weui-textarea remark" id="shipRegion" placeholder="请选择发货地址..."
                            readonly="readonly"></textarea>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">详细地址<span class="red-900 requirentry"
                                    style="position:absolute;">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="text" id="shipAddress"
                                placeholder="请输入详细地址..." />
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">备注</label></div>
                        <div class="weui-cell__bd">
                            <textarea class="weui-textarea remark clearContent" rows="3" data-plugin="maxlength"
                                data-placement="bottom-right-inside" placeholder="请输入备注..."
                                id="remark"></textarea>
                        </div>
                    </div>
                </div>
                <p class="saleOrders-entry-message">规格数量</p>
                <div class="report-contents-item-box" v-for="(item, index) in entries" :key="item.seq">
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>销售品类<span class="red-900 requirentry"
                                        style="position:absolute;">&nbsp;*</span></span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent " id="specLevel" style="visibility: hidden;"
                                    required>
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">数量(头)<span
                                    class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="number" min="0" id="planQty"
                                placeholder="请输入数量...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">预估均重(kg)<span
                                    class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="number" min="0" id="estimatedAvgWeight"
                                placeholder="请输入预估均重...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">基础单价(元)<span
                                    class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="number" min="0" id="unitPrice"
                                placeholder="请输入基础单价...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">是否赠送</label></div>
                        <div class="weui-cell__bd">
                            <input type="checkbox" name="isGift" id="isGift" style="height: 20px; width: 20px;"><label
                                class="p-0"></label>
                        </div>
                    </div>
                </div>
                <p class="saleOrders-entry-message">运输信息</p>
                <div class="report-contents-item-box" v-for="(item, index) in entries" :key="item.seq">
                    <!--<div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    司&emsp;&emsp;机<span class="red-900 requirentry" style="position:absolute;">&nbsp;*</span>
                                </span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent" style="visibility: hidden;" id="deiverId" required>
                                </select>
                            </span>
                        </div>
                    </div>-->
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">司机姓名<span
                                    class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="text" id="deiverName" placeholder="请输入司机姓名...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">司机电话号码<span
                                    class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="text" id="deiverPhone"
                                placeholder="请输入司机电话号码...">
                        </div>
                    </div>
                    <div class="weui-cell license-plate" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">运输车牌<span
                                    class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="text" id="carNo" placeholder="请输入运输车牌...">
                        </div>
                    </div>
                    <div class="weui-cell license-plate" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">中转车牌<span class="red-900"></span></label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="text" id="transferCarNo"
                                placeholder="请输入中转车牌...">
                        </div>
                    </div>
                    <!--<div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>收货地址<span class="red-900 requirentry" style="position:absolute;">&nbsp;*</span></span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent " id="deliveryAddress" style="visibility: hidden;" required>
                                </select>
                            </span>
                        </div>
                    </div>-->
                    <div class="weui-cell">
                        <div class="weui-uploader__hd" style="width: 150px;">
                            <p class="weui-uploader__title">收货地址<span class="red-900 requirentry"
                                    style="position:absolute;">&nbsp;*</span></p>
                        </div>
                        <input type="hidden" id="deliveryAddressPack" value="" />
                        <textarea class="weui-textarea remark" id="deliveryRegion" placeholder="请选择收货地址..."
                            readonly="readonly"></textarea>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">详细地址<span class="red-900 requirentry"
                                    style="position:absolute;">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="text" id="deliveryAddress"
                                placeholder="请输入详细地址..." />
                        </div>
                    </div>
                </div>
            </div>
            <div class="report-contents-item-box operation ">
                <div class="weui-cell operation-child">
                    <a href="javascript:;" class="weui-btn weui-btn_default"
                        style="width: 38%;border-radius:8px;background-color: #fff;margin-left: 0px;"
                        id="returnMain">取消</a>
                    <a href="javascript:;" class="weui-btn weui-btn_primary"
                        style="width: 60%;border-radius:8px;margin-top: 0px;margin-right: 0px;" id="informationSubmit"
                        v-on:click="submit">保存</a>
                </div>
            </div>
        </form>
    </div>

    <script type="text/javascript" src="../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/select2.full.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/i18n/zh-CN.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/form-entries/form-entries.js"></script>

    <script type="module" src="../../../../public/js/features/breedsales/saleorders/saleordersentry.js"></script>
</body>

</html>